package cn.bugstack.infrastructure.persistent.po;

import lombok.Data;
import java.util.Date;
/**
 *  @description:    策略奖品明细配置
 *  @author naixixu
 *  @date 2022/12/20 12:53
 **/
@Data
public class StrategyRule {
    //主键ID
    private Long id;
    //抽奖策略ID
    private Integer strategyId;
    //奖品ID --内部流转使用
    private Integer awardId;
    //抽象规则类型 1-策略规则；2-奖品规则
    private Integer ruleType;
    //抽奖规则类型【rule_random - 随机值计算；rule_lock - 抽奖几次后解锁、 rule_lucky_award - 幸运奖（兜底奖品）】
    private String ruleModel;
    //抽奖规则比值
    private String rulevalue;
    //抽奖规则描述
    private String ruleDesc;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;

}
